package com.xinsoft.entity.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 仓库
 * @TableName sys_warehouse
 */
@Data
public class SysWarehouseImportDTO implements Serializable {
    /**
     * 仓库代码
     */
    @Excel(name="仓库代码")
    @NotEmpty(message = "仓库代码不能为空！")
    private String warehouseCode;

    /**
     * 仓库名称
     */
    @Excel(name="仓库名称")
    @NotEmpty(message = "仓库名称不能为空！")
    private String warehouseName;

    /**
     * 仓库类型
     */
    @Excel(name="仓库类型")
    @NotEmpty(message = "仓库类型不能为空！")
    private String warehouseTypeName;

    /**
     * 仓库类型
     */
    private Integer warehouseType;


    private static final long serialVersionUID = 1L;
}